;; settings for Go language
(cond
 ((eq system-type 'windows-nt)
  (add-to-list 'load-path (expand-file-name "c:/Go/misc/emacs/"))))

;; TODO: make this generic; currently only for corp.
(add-to-list 'load-path "~/emacs/site-lisp/go-mode.el/")

(require 'go-mode)
(add-to-list 'auto-mode-alist '("\\.go\\'" . go-mode))
(add-hook 'go-mode-hook  
     '(lambda() 
        (setq tab-width 4)))
